import Exception from '@/platform/components/exception/Exception';
import DefMainLayout from '@/platform/components/main-layout/DefMainLayout';
import React from 'react';

const NotFound: React.FC = (props:any) => (
    <DefMainLayout>
        <Exception toHomeVisible={(props.route && props.route.extraProps) ? props.route.extraProps.toHomeVisible : true} />
    </DefMainLayout>
)

export default NotFound;
